﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace COMOSOFT.OrderBusiness.Report
{
    public partial class rptFtyPurMaster : DevExpress.XtraReports.UI.XtraReport
    {
        public rptFtyPurMaster(string FMIDs, string OIDs)
        {
            InitializeComponent();
            if (FMIDs != null)
            {
                DataSet.DataSetrptOrderDetailsTableAdapters.sp_rptListPurMasterTableAdapter adtFtyPurMaster = new DataSet.DataSetrptOrderDetailsTableAdapters.sp_rptListPurMasterTableAdapter();
                adtFtyPurMaster.Fill(this.dataSetrptOrderDetails1.sp_rptListPurMaster, FMIDs);
            }
            if (OIDs != null)
            {
                DataSet.DataSetrptOrderDetailsTableAdapters.sp_rptOrderSizeBreakdownTableAdapter adtSizeBd = new DataSet.DataSetrptOrderDetailsTableAdapters.sp_rptOrderSizeBreakdownTableAdapter();
                adtSizeBd.Fill(this.dataSetrptOrderDetails1.sp_rptOrderSizeBreakdown, OIDs);
            }
        }
    }
}
